.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.auth-container {
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #1f2937;
    margin-bottom: 10px;
}

.auth-header p {
    color: #6b7280;
    font-size: 14px;
}

.auth-steps {
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    width: 30px;
    height: 30px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 5px;
    color: #1f2937;
}

.step-content p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.auth-permissions {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.auth-permissions h4 {
    margin-bottom: 15px;
    color: #1f2937;
}

.permission-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.permission-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.permission-icon {
    width: 20px;
    margin-right: 10px;
    font-weight: 600;
}

.permission-list li:nth-child(1) .permission-icon,
.permission-list li:nth-child(2) .permission-icon {
    color: #10b981;
}

.permission-list li:nth-child(3) .permission-icon,
.permission-list li:nth-child(4) .permission-icon {
    color: #ef4444;
}

.auth-buttons {
    text-align: center;
}

.btn-google {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.2s;
}

.btn-google:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.auth-note {
    margin-top: 15px;
    font-size: 12px;
    color: #6b7280;
}

.auth-note a {
    color: #0284c7;
    text-decoration: none;
}

.loading-content {
    padding: 40px;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #0284c7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #6b7280;
    margin-bottom: 30px;
}

.loading-progress {
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}
